﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CRMWeb.Pages
{
    public partial class TestInsertAppDataConsumer : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        
        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            ImportAppData InsertData = new ImportAppData();
            InsertData.insertAppData(txtFirstName.Text, txtMiddleName.Text, txtSurname.Text, txtLoanAmount.Text, txtResidency.Text, txtMobile.Text, txtPhone.Text, txtEMailAddress.Text, txtResidentialAddress.Text, txtDateOfBirth.Text, txtDriversLicence.Text, txtResidentialStatus.Text, txtBoardingWithName.Text, txtLengthOfResidenceYear.Text, txtResidencePeriod.Text, txtNumberofDependant.Text, txtPurposeOfLoan.Text, txtOtherPurpose.Text, txtPurposeSummary.Text, txtTypeOfEmployment.Text, txtBusinessName.Text, txtAddress.Text, txtAbnNumber.Text, txtNatureOfBusiness.Text, txtMoneyDetail.Text, txtNameOfDirectors.Text, txtIncomeAfterTax.Text, txtIncomeAfterTax1Period.Text, txtCentrelinkIncome.Text, txtOtherIncomeSpecify.Text, txtRentalIncome.Text, txtTotalIncome.Text, txtVehicle1Value.Text, txtVehicle1Payment.Text, txtVehicle1Owner.Text, txtProperty1Address.Text, txtProperty1LandSize.Text, txtBrowser.Text, txtIpAddress.Text, txtReferrerName.Text, txtReferrerCompany.Text, txtReferrerEmail.Text, txtStatus.Text);
            Response.Redirect("~/Pages/Test/TestSuccessAppData.aspx");
        }
    }
}